// mock模拟数据：  是拦截ajax请求，去mock对应路径下的数据返回

import Mock from 'mockjs'
import data from './data.json'

Mock.mock('/shop_info', { code: 0, data: data.info })
Mock.mock('/shop_goods', { code: 0, data: data.goods })
Mock.mock('/shop_ratings', { code: 0, data: data.ratings })